﻿using Microsoft.EntityFrameworkCore.Migrations;

#nullable disable

namespace DualPlaneFR4Paster.Migrations
{
    public partial class 添加载具原点坐标 : Migration
    {
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.InsertData(
                table: "MParams",
                columns: new[] { "Id", "Alias", "Floor", "Name", "Type", "Unit", "Value" },
                values: new object[] { 17, "正面载具原点X", 1, "POrgX", "Double", "mm", "11.5" });

            migrationBuilder.InsertData(
                table: "MParams",
                columns: new[] { "Id", "Alias", "Floor", "Name", "Type", "Unit", "Value" },
                values: new object[] { 18, "正面载具原点Y", 1, "POrgY", "Double", "mm", "11.6" });

            migrationBuilder.InsertData(
                table: "MParams",
                columns: new[] { "Id", "Alias", "Floor", "Name", "Type", "Unit", "Value" },
                values: new object[] { 19, "反面载具原点X", 2, "NOrgY", "Double", "mm", "12.5" });

            migrationBuilder.InsertData(
                table: "MParams",
                columns: new[] { "Id", "Alias", "Floor", "Name", "Type", "Unit", "Value" },
                values: new object[] { 20, "反面载具原点Y", 2, "NOrgY", "Double", "mm", "12.6" });
        }

        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DeleteData(
                table: "MParams",
                keyColumn: "Id",
                keyValue: 17);

            migrationBuilder.DeleteData(
                table: "MParams",
                keyColumn: "Id",
                keyValue: 18);

            migrationBuilder.DeleteData(
                table: "MParams",
                keyColumn: "Id",
                keyValue: 19);

            migrationBuilder.DeleteData(
                table: "MParams",
                keyColumn: "Id",
                keyValue: 20);
        }
    }
}
